<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>个人资料</title>
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="format-detection" content="telephone=no">
	<link rel="stylesheet" href="${s.base}/js/layui/css/layui.css" media="all" />
	<link rel="stylesheet" href="${s.base}/css/base/base.css" media="all" />
</head>
<body class="childrenBody">
<form class="layui-form layui-row">
	<div class="layui-col-md3 layui-col-xs12 user_right">
		<div class="layui-upload-list">
			<img style="max-width: 200px;" class="layui-upload-img layui-circle userFaceBtn userAvatar" <#if baseUserInfo.headlogo?if_exists  >src="${baseUserInfo.headlogo}"<#else>src="${s.base}/image/head_defalut.png" </#if> >
		</div>
		<button type="button" class="layui-btn layui-btn-primary userFaceBtn"><i class="layui-icon">&#xe67c;</i> 我要换一个头像</button>
		<p>点击‘立即提交’，头像才保存生效</p>
	</div>
	<div class="layui-col-md6 layui-col-xs12">
		<div class="layui-form-item">
			<label class="layui-form-label">登录名</label>
			<div class="layui-input-block">
				<input type="text" value="${baseUserInfo.userid}" id="userid" disabled class="layui-input layui-disabled">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">部门:</label>
			<div class="layui-input-block">
				<input type="text" value="${baseUserInfo.baseDepart.departname}" disabled class="layui-input layui-disabled">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">真实姓名</label>
			<div class="layui-input-block">
				<input type="text" value="${baseUserInfo.username}" id="username"  lay-verify="required" class="layui-input realName">
			</div>
		</div>
		<div class="layui-form-item" pane="">
			<label class="layui-form-label">性别</label>
			<div class="layui-input-block sex">
				<input type="radio" name="sex"  <#if baseUserInfo.sex == "男" >checked="checked"</#if> value="男" title="男" checked="checked">
				<input type="radio" name="sex" <#if baseUserInfo.sex == "女" >checked="checked"</#if> value="女" title="女">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">手机号码</label>
			<div class="layui-input-block">
				<input type="tel" value="${baseUserInfo.phone}" placeholder="请输入手机号码" lay-verify="phone" class="layui-input phone">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">出生年月</label>
			<div class="layui-input-block">
				<input type="text" value="${baseUserInfo.brithday}" placeholder="请输入出生年月" lay-verify="userBirthday" readonly class="layui-input brithday">
			</div>
		</div>
		<!--<div class="layui-form-item userAddress">
			<label class="layui-form-label">家庭住址</label>
			<div class="layui-input-inline">
				<select name="province" lay-filter="province" class="province">
					<option value="${baseUserInfo.province}">${baseUserInfo.province!"请选择省"}</option>
				</select>
			</div>
			<div class="layui-input-inline">
				<select name="city" lay-filter="city" disabled>
					<option value="${baseUserInfo.city}">${baseUserInfo.city!"请选择市"}</option>
				</select>
			</div>
			<div class="layui-input-inline">
				<select name="area" lay-filter="area" disabled>
					<option value="${baseUserInfo.area}">${baseUserInfo.area!"请选择县/区"}</option>
				</select>
			</div>
		</div>-->
		<div class="layui-form-item userAddress">
			<label class="layui-form-label">家庭住址</label>
			<div class="layui-input-inline">
				<select name="province" data-value="${baseUserInfo.province}" lay-filter="province" class="province">
					<option value="">请选择市</option>
				</select>
			</div>
			<div class="layui-input-inline">
				<select name="city" data-value="${baseUserInfo.city}" lay-filter="city" class="city" disabled>
					<option value="">请选择市</option>
				</select>
			</div>
			<div class="layui-input-inline">
				<select name="area" data-value="${baseUserInfo.area}" lay-filter="area" class="area" disabled>
					<option value="">请选择县/区</option>
				</select>
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">邮箱</label>
			<div class="layui-input-block">
				<input type="text" value="${baseUserInfo.email}" placeholder="请输入邮箱" lay-verify="email" class="layui-input email">
			</div>
		</div>
		<div class="layui-form-item">
			<div class="layui-input-block">
				<button class="layui-btn" lay-submit="" lay-filter="changeUser">立即提交</button>
				<button type="reset" class="layui-btn layui-btn-primary">重置</button>
			</div>
		</div>
	</div>
</form>
<script type="text/javascript" src="${s.base}/js/layui/layui.js"></script>
<script type="text/javascript" src="${s.base}/js/base/page/userInfo.js"></script>
<!--<script type="text/javascript" src="${s.base}/js/base/page/cacheUserInfo.js"></script>-->
<script  type="application/javascript" src="${s.base}/js/base/commont.js" ></script>
</body>
</html>